Table of Contents

Module: Reading .\src\TW\XMI\Reading.py

Extend an SEF model with the ability to read XML Metadata Interchange files

Usage:

        import TW.XMI.Reading as SEF

        class MyMetaModel(SEF.App):

            class anElementOfMyMetaModel(SEF.Element):

                ...

In other words, create a metamodel as you normally would with SEF classes, but using the TW.XMI.Reading module instead of SEF. Of course, you can also create your own variant modules that combine other aspects with this one over the base SEF module. Also, you may choose to define your metamodel in a module that does not import a specific variant of the SEF module, but instead uses the default unless overridden in an inheriting module. (See, for example, TW.UML.MetaModel, which uses the default SEF implementation, and TW.UML.Model, which adds domain logic to the raw UML metamodel, and elects to use TW.SEF.SimpleModel in place of the default SEF module.

Imported modules   
from TW.API import *
import TW.SEF.Basic
from TW.Utils.SOX import Node, Document, load
from kjbuckets import kjGraph
Classes   
App
Classifier
Collection
Reference
StructuralFeature
XMIDocument
XMIElement
XMIFactory
XMIJunk
XMIMapMaker
XMINode

Table of Contents

This document was automatically generated on Tue Mar 05 10:33:50 2002 by HappyDoc version WORKING